<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
    "http://www.w3.org/TR/REC-html40/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="GNU source-highlight 2.1.2
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite">
<title>../../../../dev/cvs-5_0-branch/marvin/examples/applets/source/space.html</title>
<link rel="stylesheet" href="../../javacode.css" type="text/css">
</head>
<body>
<pre><tt><span class="keyword">&lt;HTML&gt;</span>
<span class="keyword">&lt;HEAD&gt;</span>
<span class="keyword">&lt;meta</span><span class="normal"> </span><span class="type">NAME</span><span class="symbol">=</span><span class="string">"</span><span class="string">author</span><span class="string">"</span><span class="normal"> </span><span class="type">CONTENT</span><span class="symbol">=</span><span class="string">"</span><span class="string">Judit Vasko-Szedlar</span><span class="string">"</span><span class="keyword">&gt;</span>
<span class="keyword">&lt;link</span><span class="normal"> </span><span class="type">REL</span><span class="symbol">=</span><span class="string">"</span><span class="string">stylesheet</span><span class="string">"</span><span class="normal"> </span><span class="type">TYPE</span><span class="symbol">=</span><span class="string">"</span><span class="string">text/css</span><span class="string">"</span><span class="normal"> </span><span class="type">HREF</span><span class="symbol">=</span><span class="string">"</span><span class="string">../../../marvinmanuals.css</span><span class="string">"</span><span class="normal"> </span><span class="type">TITLE</span><span class="symbol">=</span><span class="string">"</span><span class="string">Style</span><span class="string">"</span><span class="keyword">&gt;</span>

<span class="keyword">&lt;TITLE&gt;</span><span class="normal">MarvinSpace Example</span><span class="keyword">&lt;/TITLE&gt;</span>

<span class="keyword">&lt;script</span><span class="normal"> </span><span class="type">LANGUAGE</span><span class="symbol">=</span><span class="string">"</span><span class="string">javascript</span><span class="string">"</span><span class="keyword">&gt;</span>
<span class="keyword">function</span><span class="normal"> </span><span class="function">mapProperty</span><span class="symbol">(</span><span class="symbol">)</span>
<span class="cbracket">{</span>
<span class="normal">document</span><span class="symbol">.</span><span class="normal">MSpaceApplet</span><span class="symbol">.</span><span class="function">mapPropertyFile</span><span class="symbol">(</span><span class="string">"http://www.chemaxon.com/marvinspace/data/3gb1.phi80"</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">-</span><span class="number">30</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">+</span><span class="number">20</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0.3</span><span class="normal"> </span><span class="symbol">)</span><span class="symbol">;</span>
<span class="cbracket">}</span>
<span class="keyword">&lt;/script&gt;</span>
<span class="keyword">&lt;/HEAD&gt;</span>

<span class="keyword">&lt;BODY&gt;</span>
<span class="keyword">&lt;H</span><span class="type">1&gt;MarvinSpace&lt;/H1&gt;</span>

<span class="type">&lt;center&gt;</span>
<span class="type">&lt;script</span><span class="normal"> </span><span class="type">language</span><span class="symbol">=</span><span class="string">"</span><span class="string">JavaScript</span><span class="string">"</span><span class="normal"> </span><span class="type">src</span><span class="symbol">=</span><span class="string">"</span><span class="string">../../../marvin.js</span><span class="string">"</span><span class="keyword">&gt;</span><span class="keyword">&lt;/script&gt;</span>
<span class="keyword">&lt;script</span><span class="normal"> </span><span class="type">language</span><span class="symbol">=</span><span class="string">"</span><span class="string">JavaScript</span><span class="string">"</span><span class="keyword">&gt;</span>
<span class="comment">&lt;!--</span>
<span class="normal">mspace_name</span><span class="symbol">=</span><span class="string">"MSpaceApplet"</span><span class="symbol">;</span>
<span class="function">mspace_begin</span><span class="symbol">(</span><span class="normal">mspace_name</span><span class="symbol">,</span><span class="string">"../../.."</span><span class="symbol">,</span><span class="number">900</span><span class="symbol">,</span><span class="number">600</span><span class="symbol">)</span><span class="symbol">;</span>
<span class="function">mspace_param</span><span class="symbol">(</span><span class="string">"progressbar"</span><span class="symbol">,</span><span class="string">"true"</span><span class="symbol">)</span><span class="symbol">;</span>
<span class="function">mspace_param</span><span class="symbol">(</span><span class="string">"selectionpanel"</span><span class="symbol">,</span><span class="string">"true"</span><span class="symbol">)</span><span class="symbol">;</span>
<span class="function">mspace_param</span><span class="symbol">(</span><span class="string">"popupmenu"</span><span class="symbol">,</span><span class="string">"true"</span><span class="symbol">)</span><span class="symbol">;</span>
<span class="function">mspace_param</span><span class="symbol">(</span><span class="string">"menubar"</span><span class="symbol">,</span><span class="string">"true"</span><span class="symbol">)</span><span class="symbol">;</span>
<span class="function">mspace_param</span><span class="symbol">(</span><span class="string">"molecule"</span><span class="symbol">,</span><span class="string">"http://www.chemaxon.com/marvinspace/data/3gb1_charmm.pdb"</span><span class="symbol">)</span><span class="symbol">;</span>
<span class="function">mspace_end</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">;</span>
<span class="comment">//</span><span class="comment">--&gt;</span>
<span class="keyword">&lt;/script&gt;</span>

<span class="keyword">&lt;script&gt;</span>
<span class="function">mapProperty</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">;</span>
<span class="keyword">&lt;/script&gt;</span>

<span class="keyword">&lt;/center&gt;</span>

<span class="keyword">&lt;/BODY&gt;</span>
<span class="keyword">&lt;/HTML&gt;</span>

</tt></pre>
</body>
</html>
